ChangeFrameShape
TheChangeFrameShape
method changes the frame shape of this frame.
void ChangeFrameShape (in ODShape shape, in ODCanvas biasCanvas);
shape
- A reference to a frame shape to assign to this frame, expressed in frame coordinates.
biasCanvas
kODNULL
if the geometry is in platform-normal coordinates, otherwise a reference to the canvas object to whose coordinate space the geometry is biased.DISCUSSION
Your part calls its embedded frame'sChangeFrameShape
method when it changes the shape of the embedded frame. This method in turn calls theFrameShapeChanged
method of the embedded frame's part to notify the part that its frame shape has changed.If the used shape is the same as the frame shape, this method also calls the
UsedShapeChanged
method of the embedded frame's part to notify the part that its used shape has changed.EXCEPTIONS
kODErrIllegalNullShapeInput
- The
shape
parameter is null.SEE ALSO
TheODFrame::AcquireFrameShape
method (page 302).
TheODFrame::RequestFrameShape
method (page 331).
TheODPart::FrameShapeChanged
method (page 520).
TheODPart::UsedShapeChanged
method (page 550).
"Resizing an Embedded Frame" on page 120 in OpenDoc Programmer's Guide.
"Frame Shape" on page 145 in OpenDoc Programmer's Guide.
"Redrawing a Frame When It Changes" on page 161 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help